package v3.common.exception;

public class ApiException  extends RuntimeException{
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    private Integer code= -1;
    public ApiException(String message){
        super(message);
    }
    public ApiException(String message,Integer code){
        super(message);
        this.code =code;
    }
}
